package com.coder.books.thinkinjava.generics;

/**
 *
 * @author yuhushuan
 * @date 2020/8/10 20:37
 */
public class Erased<T> {
    private final int SIZE = 100;

    public void f(Object arg) {
//        if (arg instanceof T){}
//        T var = new T();
//        T[] array = new T[SIZE];
        T[] array = (T[]) new Object[SIZE];
    }
}
